var snow = new Object("snow","#FFF","#FFF",snowAction,snowDraw);

function snowAction(x,y,direction)
{
	var g= window.game;
	g.playerX=x;
	g.playerY=y;
	g.movePlayer( direction );
//	window.game.gameLoop();
	return false;
}

function snowDraw(context,x,y,width,height)
{
	
}

window.game.addObject( snow );